package work4;

/**
 * 盗贼类
 */

public class Robber extends Role implements Attack{
    public Robber(String name, int level, String selflntroduce) {
        super(name, level, selflntroduce);
    }
    public  void rob(){
        System.out.println("我是"+this.getName()+
                "我的等级是"+this.getLevel()+getSelflntroduce());
    }

    @Override
    public void attack() {
        System.out.println("发动技能：挖地道");
    }
}
